package com.example.codeservice.service.impl;

import com.example.codeservice.service.UserServiceFeignClient;
import org.springframework.stereotype.Component;

/**
 * @author zhouyp
 * @program example-parent
 * @description
 * @create 2020-07-27
 */
@Component
public class UserServiceFallback implements UserServiceFeignClient {

    @Override
    public boolean isRegistered(String email) {
        System.out.println("熔断：UserServiceFallback.isRegistered");
        return false;
    }
}
